<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Usuario</title>
    </h:head>
    <h:body>
        <ui:composition>
            <div style="height: 100px; background-image: url(Imagenes/relajacionazul.jpg);">
                <div style="width: 96%; margin: 0 auto;">
                    <div style="float: left; margin-top: 20px; margin-left: 50px;">
                        <img src="Imagenes/logo.png" />
                    </div>
                    <div style="float: right; margin-top: 60px; color: #ffffff; font-size: 18px;">
                        <h:form>
                            <h:outputText value="Bienvenido: "/>
                            <h:outputText value="#{controlusuarios.auxiliar.nombre}"></h:outputText>
                            <h:form>
                                <p:menuButton value="Menu" >  
                                    <p:menuitem value="Perfil" icon="ui-icon-extlink"/>
                                    <p:menuitem value="Cerrar Session" url="index.xhtml" actionListener="#{controlOpnciones.cerrarSession()}" icon="ui-icon-close"/>  
                                </p:menuButton> 
                            </h:form>
                        </h:form> 
                    </div>
                </div>
            </div>
        </ui:composition>
    </h:body>
</html>

